package cloud.xlh.auto_configuration;

import cloud.xlh.auto_configuration.Cat;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created with IntelliJ IDEA.
 *
 * @ project name : example
 * @ Author: XuLeHuang
 * @ Date: 2023/1/30 15:49
 * @ Description:
 */
public class MyAutoConfiguration {

    @Bean
    public Cat myCat() {
        System.out.println("自动装配");
        return new Cat();
    }
}
